<!DOCTYPE html>
<html  lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    
    <title>智慧梁场管理平台</title>
    <meta name="description" content="智慧梁场管理平台">
    <link rel="shortcut icon" href="#(ctx)/favicon.ico" />
    <link href="#(ctx)/static/css/bootstrap.min.css"  rel="stylesheet"/>
    <link href="#(ctx)/static/css/font-awesome.min.css"  rel="stylesheet"/>
    <link href="#(ctx)/static/css/style.min.css"  rel="stylesheet"/>
    <link href="#(ctx)/static/css/login.css" rel="stylesheet"/>
    <link href="#(ctx)/static/ruoyi/css/ry-ui.css"  rel="stylesheet"/>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <style type="text/css">
	   label.error { position:inherit;  }
	   .no-margins{text-align:center;font-size:22px;}
	   .layui-layer-dialog .layui-layer-content
		{
		 color:#000000;
		 background:#ffffff;
		}
		.logo_title{
			color:#ffffff;
			position: absolute;
		  	left: 30px;
		  	top: 20px;
		  	font-size:18px;
		}
       .signinpanel{
           margin:0 auto;
       }
       .signinpanel .row{
           background: rgba(0,0,0,0.5);
           margin: 0px;
           border-radius: 3px 0px 0px 3px;
       }
       .signin-info{
           padding:20% 0px 20px 0px
       }
       .signin-info h2{
           margin-left: 20px;
       }
    </style>
    <script>
        if(window.top!==window.self){window.top.location=window.location};
    </script>
</head>

<body class="signin">
<!-- <div class="logo_title"><a href="javascript:void(0)"><img src="#(ctx)/static/img/logo1.png" style="height:50px"/></a></div> -->
<div class="row" style="margin-top:10%">
	<div class="col-sm-3">
	</div>
	<div class="col-sm-6">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-7" style="padding: 0px">
                <div class="signin-info">
                    <h2> <strong>欢迎使用</strong></h2>
                    <h2> <strong>智慧梁场管理平台</strong></h2>
                </div>
            </div>
            <div class="col-sm-5" style="padding: 0px">
                <form id="signupForm">
                    <h4 class="no-margins">欢迎登录</h4>
                    <input type="text"     name="username" class="form-control uname"     placeholder="用户名" />
                    <input type="password" name="password" class="form-control pword"     placeholder="密码" style="margin-bottom:30px;"/>
					#if(captcha)
					<div class="row m-t" >
						<div class="col-xs-6">
						    <input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" autocomplete="off">
						</div>
						<div class="col-xs-6">
							<a href="javascript:void(0);" title="点击更换验证码">
								<img src="#(ctx)/captcha/captchaImage"  onclick="this.src='#(ctx)/captcha/captchaImage?x='+Math.random()" 
								class="imgcode" width="85%"/>
							</a>
						</div>
					</div>
					#end
                    <!-- <div class="checkbox-custom" th:classappend="${captchaEnabled==false} ? 'm-t'">
				        <input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme">记住我</label>
				    </div> -->
				    
				    #if(!isclose)
                    <button class="btn btn-success btn-block" id="btnSubmit" data-loading="正在验证登录，请稍后...">登录</button>
                    #else
                     <span style="font-weight:bold;color:red">#(errorMsg)</span>
                    #end

                </form>
            </div>
        </div>
    </div>
    </div>
	<div class="col-sm-3">
	</div>
    <div class="col-sm-12" style="position:absolute;bottom:0">
        <div class="signup-footer" style="color:#FFF;text-align: center;border-top:none;">
                &copy; 2022 All Rights Reserved. 安德劳特
        </div>
    </div>
 </div>
<!-- 全局js -->
<script type="text/javascript">
	var ctx='#(ctx)/';
	var captchaType='#(captchaType)';
	
</script>
<script src="#(ctx)/static/js/jquery.min.js"  ></script>
<script src="#(ctx)/static/js/bootstrap.min.js" ></script>
<!-- 验证插件 -->
<script src="#(ctx)/static/ajax/libs/validate/jquery.validate.min.js" ></script>
<script src="#(ctx)/static/ajax/libs/validate/messages_zh.js" ></script>
<script src="#(ctx)/static/ajax/libs/layer/layer.min.js" ></script>
<script src="#(ctx)/static/ajax/libs/blockUI/jquery.blockUI.js" ></script>

<script src="#(ctx)/static/ruoyi/js/ry-ui.js" ></script>

<script src="#(ctx)/static/ajax/libs/layer/layer.min.js"></script>

<!-- 加密js组件  -->
<script src="#(ctx)/static/crypto-js/crypto-js.js"></script>
<script src="#(ctx)/static/crypto-js/aes.js"></script>
<script src="#(ctx)/static/crypto-js/cryptoutils.js"></script>
<script src="#(ctx)/static/ruoyi/login.js" ></script>

<script type="text/javascript">
	var isnet=false;//'#(isnet)';

    if("#(errorMsg)"!=''&&!#(isclose))
    {
    	layer.alert("#(errorMsg)", {
            icon: $.modal.icon('warning'),
            title: "温馨提示",
            btn: ['确认'],
            btnclass: ['btn btn-primary'],
        });
    }
	
</script>
</body>
</html>
